<div id="demos-tab-panel" class="panel" role="tabpanel">
  <h2 class="demo-header">HTML</h2>
  <div class="demo-multi-code">
    <pre class="code"><code><!--
--><span class="code-comment">&lt;!-- Sends form data to /greeting,
     putting the response onto #result --&gt;</span>
&lt;<span class="code-token">form action</span>="<i>/greeting</i><b>#result</b>" <span class="code-token">target</span><b>=<span class="code-target">htmz</span>></b>
  &lt;<span class="code-token">label</span>>
    What’s your name?
    &lt;<span class="code-token">input name</span>="name">
  &lt;/<span class="code-token">label</span>>
  &lt;<span class="code-token">button</span>>Greet me&lt;/<span class="code-token">button</span>>
&lt;/<span class="code-token">form</span>>

<span class="code-comment">&lt;!-- This will be replaced by /greeting's response --&gt;</span>
&lt;<span class="code-token">div id</span>="<b>result</b>">&lt;/<span class="code-token">div</span>><!--
--></code></pre>
    <h2 class="demo-header">
      PHP example backend <code class="code code-term">/greeting</code>
    </h2>
    <pre class="code"><code><!--
--><span class="code-template">&lt;p id="result">
  Hello, </span>&lt;?= <span class="code-token">$_REQUEST</span>['name'] ?><span class="code-template">
&lt;/p></span><!--
--></code></pre>
  </div>
  <h2 class="demo-header">Result</h2>
  <div class="demo-result">
    <form action="demos/hello/greeting.html#result">
      <label>What’s your name? <input name="name" /></label>
      <button>Greet me</button>
    </form>
    <div id="result"></div>
  </div>
</div>
